package com.javaee.tallybook.mapper;

import com.javaee.tallybook.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {

    Integer insertUser(User user);

    User selectUserByNameAndPwd(String name,String pwd);

    List<User> selectAllUser();

    User selectName(String name);

    Integer updatePwd(String name,String pwd);
}
